//
//  VMCCustomPickerView.h
//  vmcshop
//
//  Created by toggle on 15/6/30.
//  Copyright (c) 2015年 idongler. All rights reserved.
//
typedef void(^myBlock)(NSMutableArray *array);
#import <UIKit/UIKit.h>

@interface VMCCustomPickerView : UIView

@property (copy) myBlock block;

+(instancetype)showPickerAddToView:(UIView *)view title:(NSString *)title withDataArray:(NSArray *)data withBlock:(myBlock)block;
+(BOOL)hidePickerForView:(UIView *)view;
- (id)initWithView:(UIView *)view title:(NSString *)title withDataArray:(NSArray *)data withBlock:(myBlock)block;

@end
